
export const FILTER_PARAMS = [
  {
    placeholder: '姓名',
    name: 'name'
  },
  {
    placeholder: '身份证号',
    name: 'idcardNum'
  },
  {
    placeholder: '企业名称',
    name: 'enterpriseName'
  },
  {
    placeholder: '签约状态',
    name: 'isSign'
  },
]

export const USER_LIST_COLUMNS = [
  {
    title: '姓名',
    dataIndex: 'name',
    fixed: 'left'
  },
  {
    title: '手机号',
    dataIndex: 'phone'
  },
  {
    title: '身份证号',
    dataIndex: 'idcardNum'
  },
  {
    title: '开户行',
    dataIndex: 'bankName'
  },
  {
    title: '银行卡号',
    dataIndex: 'bankCardNum'
  },
  {
    title: '签约状态',
    dataIndex: 'isSign',
    scopedSlots: { customRender: 'signStatus' },
    customExportRender: isSign => isSign ? '已签约' : '未签约'
  },
  {
    title: '服务企业',
    dataIndex: 'enterpriseUserName'
  },
  {
    title: '用户来源',
    dataIndex: 'origin'
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: '150px',
    scopedSlots: { customRender: 'action' },
    fixed: 'right'
  }
]
